﻿using Microsoft.Extensions.DependencyInjection;
using tms.Filters;
using Volo.Abp.Account;
using Volo.Abp.AutoMapper;
using Volo.Abp.Caching.StackExchangeRedis;
using Volo.Abp.Modularity;
using Volo.Abp.SettingManagement;
using Volo.Abp.TenantManagement;

namespace tms
{
    [DependsOn(
        typeof(tmsDomainModule),
        typeof(AbpAccountApplicationModule),
        typeof(tmsApplicationContractsModule),
        typeof(AbpTenantManagementApplicationModule),
        typeof(AbpSettingManagementApplicationModule),
        typeof(AbpCachingStackExchangeRedisModule)
        )]
    public class tmsApplicationModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<AbpAutoMapperOptions>(options =>
            {
                options.AddMaps<tmsApplicationModule>();
            });
        }
    }
}
